package com.jmlee.pojo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 商品实体类
 * @Author jmLee
 * @Date 2021/3/8 23:00
 * @Version 1.0
 */
public class Items {

    private Long id;
    // 商品名
    private String itemName;
    // 直属分类Id
    private Long catId;

    // 一级分类Id
    private Long rootCatId;

    // 累计销量
    private Long sellCounts;

    // 上下架状态
    private Integer onOffStatus;

    // 库存
    private Integer stock;

    // 原价
    private Integer priceNormal;

    // 折扣
    private BigDecimal discount;

    // 折扣价
    private Integer priceDiscount;

    // 商品简介（描述）
    private String itemsDesc;


    // 是否为朴朴特选
    private Integer isSpecial;

    // 店铺Id
    private Long shopId;

    // 发布时间
    private Date createdTime;

    // 商品图标
    private String icon;

    // 商品详情信息
    private String content;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Long getCatId() {
        return catId;
    }

    public void setCatId(Long catId) {
        this.catId = catId;
    }

    public Long getRootCatId() {
        return rootCatId;
    }

    public void setRootCatId(Long rootCatId) {
        this.rootCatId = rootCatId;
    }

    public Long getSellCounts() {
        return sellCounts;
    }

    public void setSellCounts(Long sellCounts) {
        this.sellCounts = sellCounts;
    }

    public Integer getOnOffStatus() {
        return onOffStatus;
    }

    public void setOnOffStatus(Integer onOffStatus) {
        this.onOffStatus = onOffStatus;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getPriceNormal() {
        return priceNormal;
    }

    public void setPriceNormal(Integer priceNormal) {
        this.priceNormal = priceNormal;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public Integer getPriceDiscount() {
        return priceDiscount;
    }

    public void setPriceDiscount(Integer priceDiscount) {
        this.priceDiscount = priceDiscount;
    }

    public String getItemsDesc() {
        return itemsDesc;
    }

    public void setItemsDesc(String itemsDesc) {
        this.itemsDesc = itemsDesc;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getIsSpecial() {
        return isSpecial;
    }

    public void setIsSpecial(Integer isSpecial) {
        this.isSpecial = isSpecial;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
